#include"string.h"
void TestString1()
{
	dm::string str("hello world!");
	cout << str << endl;
	str.push_back('a');
	str.push_back('a');
	str.push_back('a');
	str.append("bbb");
	str += 'c';
	str += "cc";
	cout << str << endl;
	str.clear();
	if (str.empty())
		cout << "true" << endl;
	else
		cout << "false" << endl;
}
void TestString2()
{
	dm::string s1("Hello ccut!");
	dm::string s2 = s1;
	dm::string s3("happy happy~");
	cout << "s1:" << s1 << endl;
	cout << "s2:" << s2 << endl;
	cout << "s3:" << s3 << endl;
	s1 = s3;
	if (s1 != s2)
		cout << "s1!=s2" << endl;
	if (s1 == s3)
		cout << "s1=s3" << endl;
	if (s2 <= s3)
		cout << "s2 <= s3" << endl;
}
void TestString3()
{
	dm::string s4("i like it");
	size_t pos = s4.find("ke", 1);
	s4.erase(pos, 4);
	s4.erase(0, 2);
	cout << s4 << endl;
	s4.insert(2, "ooo");
	cout << s4 << endl;
	dm::string s5 = s4.substr(0, 3);
	cout << s5 << endl;
}
void TestString4()
{
	dm::string str5;
	cin >> str5;
	cout << str5 << endl;
}
int main()
{
	//TestString1();
	//TestString2();
	//TestString3();
	TestString4();
	return 0;
}